package com.yunxin.core.infra.persistence.mapper.contact;

import com.baomidou.dynamic.datasource.annotation.DS;
import com.yunxin.core.infra.persistence.entity.contact.ContactMessageSendTaskDetailDO;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * @author zero°
 * @since 2023-06-04
 */
@DS("core")
@Mapper
public interface ContactMessageSendTaskDetailExtendMapper extends ContactMessageSendTaskDetailMapper {

    /**
     * 根据任务code 查询任务详情
     * @param taskCode
     * @return
     */
    List<ContactMessageSendTaskDetailDO> selectMessageSendTaskDetailByTaskCode(@Param("taskCode") String taskCode);
}
